//
//  ECURLPath.h
//  JuJuSports
//
//  Created by Jame on 15/5/14.
//  Copyright (c) 2015年 SSIC. All rights reserved.
//

#ifndef JuJuSports_ECURLPath_h
#define JuJuSports_ECURLPath_h

#if 0
//正式图片URL
#define PIC_URL @"http://192.168.1.109:8080/"

//正式URL
#define BASE_URL @"http://192.168.1.109:8080/"

#else
//测试图片URL
#define PIC_URL @"http://120.27.163.106:8080/"

//测试URL
//#define BASE_URL @"http://121.30.188.40:8080/"
//#define BASE_URL @"http://121.40.188.30:8080/"
#define BASE_URL @"http://120.27.163.106:8080/"

#endif


//登录
#define LOGIN @"Japanese/member/login"


//注册
#define RESIGN @"Japanese/member/register"

//获取验证码
#define CHECKCODE @"Japanese/member/getCheckCode"

//重置密码
#define RESETPWD @"Japanese/member/reset"

//上传图片
#define POSTPIC @"Japanese/image/upload"

//获取会员信息
#define MINE @"Japanese/member/get"

//获取教师信息
#define MINEINFO @"Japanese/teacher/get"

//更新会员信息
#define UPDATEMINE @"Japanese/member/update"

//更新教师信息
#define UPDATEMINEINFO @"Japanese/teacher/update"


//查询头像和昵称
#define CHATNICKNAME @"Japanese/member/query"


//获取教学经历
#define EXPINFO @"Japanese/teachingExperience/query"

//添加教学经历
#define UPDATEEXP @"Japanese/teachingExperience/create"

//教师排名
#define RANK @"Japanese/teacher/queryTeacherRanking"





//创建浏览记录
#define CREATSCAN @"Japanese/teacherHomepageBrowse/create"

//教师浏览
#define SCAN @"Japanese/teacherHomepageBrowse/queryDayViews"

//教师本周
#define WEAKSCAK @"Japanese/teacherHomepageBrowse/queryCycleViews"



//圈子列表
#define CIRCLE @"Japanese/circle/query"

//查询圈子下帖子
#define CARD @"Japanese/posts/queryPosts"

//发帖
#define ADDCARD @"Japanese/posts/create"

//查询帖子评论
#define CARDCOMMENT @"Japanese/posts/comments/queryPostsComments"

//评论帖子
#define CARDADDCOMMENT @"Japanese/posts/comments/create"

//订单
//#define ORDER @"Japanese/orders/queryOrdersByTMemberId"

//首页、已支付
#define ORDER_P @"Japanese/orders/delivered/queryDeliveredOrdersList"

//待支付
#define ORDER_LP @"Japanese/orders/wait/waitOrdersList"

#define CREATORDER_LP @"Japanese/orders/wait/waitOrders"

//取消订单
#define ORDER_C @"Japanese/orders/cancel/cancelOrdersList"

//待评价
#define ORDER_LC @"Japanese/orders/waitEvaluate/queryWaitEvaluateOrdersList"

//课程
#define SCHEDULE @"Japanese/course/queryCourseListByTmemberId"

//课程详情
#define SCHEDULEDETAIL @"Japanese/course/get"

//查询评论
#define SCHEDULECOMMENT @"Japanese/course/comments/queryCommentsByTmemberId"

//新生源、抢单
#define COURSE @"Japanese/course/queryCourse"

//修改课程信息
#define UPDATECOURSE @"Japanese/course/createORupdate"

//查询字典
#define FINDDIC @"Japanese/dictionaries/queryDictionariesList"


//搜索教师
#define SEARCH_T @"Japanese/teacher/findListLike"

//搜索课程
#define SEARCH_C @"Japanese/course/findListLike"


//我要约课
#define IWANTHAVECLASS @"Japanese/course/createORupdate"

// 周边教师
#define QUERYTEACHERDESC @"Japanese/teacher/queryTeacherDesc"

// 优秀教师
#define QUERYTEACHERLEVEL @"Japanese/teacher/queryTeacherLevel"

//精选视频
#define QUERYVIDEOBY @"Japanese/video/queryVideoBy"

//课程名称（学生约课）
#define QUERYDICTIONARIESLIST @"Japanese/dictionaries/queryDictionariesList"

//创建取消订单
#define CANCELORDERS @"Japanese/orders/cancel/cancelOrders"


#define BANNER @"Japanese/banner/findList"


//RequestURL
#define RequestURL(_url_)  [NSString stringWithFormat:@"%@%@", BASE_URL, _url_]

//PicRequestURL
#define PicRequestURL(_url_) [NSURL URLWithString:[NSString stringWithFormat:@"%@%@",PIC_URL,_url_]]

#endif
